import types from './types'
export default {
  [types.SET_USER_ID] (state, id) {
    state.id = id
  },
  [types.SET_USER_ACCOUNT] (state, account) {
    state.account = account
  },
  [types.SET_USER_ROLE] (state, role) {
    state.role = role
  }
}
